/*
 * c7_review3.cpp
 *
 *  Created on: Sep 1, 2013
 *      Author: cyper.yin
 */

#include <iostream>
using namespace std;

void fill(int arr[], int size, int value);

int main_c7r3(int argc, char **argv) {
	int arr[10];
	fill(arr,10,12);

	for (int i = 0; i < 10; ++i) {
		cout <<"arr["<< i<<"]="  << arr[i] << endl;
	}
}
void fill(int arr[], int size, int value){
	for (int i = 0; i < size; ++i) {
		arr[i] = value;
	}
}





